#include "serverwindow.h"
#include "ui_serverwindow.h"

ServerWindow::ServerWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::ServerWindow)
{
    ui->setupUi(this);
}

ServerWindow::~ServerWindow()
{
    delete ui;
}

void ServerWindow::serverFailedMsg(QString err)
{
    QMessageBox::critical(this, tr("Secure Log Server"),
                          tr("Unable to start the server: %1.").arg(err));
    close();
    return;
}
